<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/ec.jsp"%>
<%@include file="/common/meta.jsp"%>
<%@include file="/common/validator.jsp"%>
</head>
<body>
<div class="x-panel">
<div class="x-panel-header">学科管理</div>
<div class="x-toolbar">
<table width="100%">
	<tr>
		<td align="right">
			<a href="${ctx}/subject/index.do"><img src="${ctx}/images/icons/house.gif"/> 学科列表</a>
		</td>
	</tr>
</table>
</div>
<table width="100%" border="0" cellpadding="5" cellspacing="1">
	<tr>
		<td><%@ include file="/common/messages.jsp"%></td>
	</tr>
</table>
<div class="x-panel-body">
<table width="60%" align="center">
	<tr>
		<td align="center">
			<s:form id="subjectForm" action="save" validate="true" theme="simple">
			<s:hidden name="model.id" />
			<fieldset style="margin: 10px;"><legend>编辑学科</legend>
			<table width="100%">
				<tr>
					<td style="width: 30%; text-align: right;">学科名称：</td>
					<td><s:textfield id="model.name" name="model.name" cssClass="required" cssStyle="width:280px"></s:textfield>
					<font color="red">&nbsp;*</font></td>
				</tr>
				<tr>
					<td style="width: 30%; text-align: right;">学科描述：</td>
					<td>
						<s:textarea id="descn" name="model.descn" cssStyle="width:280px; height:85px" />
					</td>
				</tr>
				<tr><td height="5" colspan="2"></td></tr>
			</table>
			</fieldset>
			<table width="100%" style="margin-bottom: 10px;">
				<tr>
					<td colspan="2" align="center" class="font_white">
						<s:submit value="保存" cssClass="button" />&nbsp;&nbsp; 
						<s:reset value="重置" cssClass="button" /></td>
				</tr>
			</table>
		</s:form></td>
	</tr>
</table>
</div>
</div>
<script type="text/javascript">
	$(document).ready(function() {
		$("#subjectForm").validate();
	});
</script>
</body>
</html>